package io.kiki.sba.registry.server.clientInterface.providedata;

import io.kiki.sba.registry.server.clientInterface.bootstrap.Config;
import io.kiki.sba.registry.server.shared.providedata.BaseStopPushService;
import org.springframework.beans.factory.annotation.Autowired;


public class FetchStopPushService extends BaseStopPushService {

    @Autowired
    private Config config;

    @Override
    protected int getSystemPropertyIntervalMillis() {
        return config.getSystemPropertyIntervalMillis();
    }

    @Override
    protected void afterProcess(StopPushStorage storage) {
    }


    protected FetchStopPushService setSessionServerConfig(Config config) {
        this.config = config;
        return this;
    }
}
